package com.shen.driver;

/**
 * Author:shen
 * CreateDate:2020/5/11.
 * Function:
 */
public class Tractor {
    private int load;//载重
    private int weight;//体积

    public Tractor() {
    }

    public Tractor(int load, int weight) {
        this.load = load;
        this.weight = weight;
    }

    public int getLoad() {
        return load;
    }

    public void setLoad(int load) {
        this.load = load;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
    /**
     * 拖拉机启动
     */
    public void start(){
        System.out.println("拖拉机—————启动");
    }
    /**
     * 拖拉机加速
     */
    public void climbing(){
        System.out.println("拖拉机-----------加速");
    }
}
